# coding: UTF-8
import os;
import sys;
import string;
import codeConfig as cfg;

def delFile(filename):
    if os.path.isfile(filename):
        os.remove(filename);
        print("Delete File: "+ filename);

filename = cfg.sProjectPath+cfg.srcDir+'/'+cfg.sModule+'/'+cfg.sType+'.cpp';
delFile(filename);

filename = cfg.sProjectPath+cfg.includeDir+'/'+cfg.sModule+'/'+cfg.sType+'.h';
delFile(filename);

